package com.etc.cloud.service;

import org.springframework.stereotype.Component;

/**
 * @Author kalista
 * @Description
 * @Date 2020/8/23  15:37
 **/
@Component
public class OrderHystrixFallBackServiceimpl  implements OrderHystrixService{
    @Override
    public String payment_ok(Integer id) {
        return "------ OrderHystrixFallBackServiceimpl fall back ok-----";
    }

    @Override
    public String payment_timeout(Integer id) {
        return "------ OrderHystrixFallBackServiceimpl fall back timeout-----";
    }
}
